<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<style type="text/css">
table {
	width: 800px;
	boder-collapse: collapse;
}

td, th {
	padding: 8px 15px;
	text-align: center;
}
</style>
<div>
<button type="button" onclick="add()">新增</button>
<table border="1">
		<tr >
		<th>序号</th>
		<th>学号</th>
		<th>姓名</th>
		<th colspan="4">操作</th>
	</tr>
	<c:forEach items="${list}" var="s">
		<tr>
			<td>${s.id}</td>
			<td>${s.stuNo}</td>
			<td>${s.name}</td>
			<td><button onclick="xg(${s.id})">修改</button></td>
			<td><button onclick="sc(${s.id})">删除</button></td>
			<td><button onclick="czmm(${s.id})">重置密码</button></td>
			<td><button onclick="xszp(${s.id})">显示照片</button></td>
		</tr>
	</c:forEach>
</table>
</div>